package com.app.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@AllArgsConstructor
@ToString
@NoArgsConstructor
public class TensionMainData {
    private String fguid; // 唯一码
    private String syjid; // 张拉信息表主键
    private String shebeibianhao; // 设备编号
    private String gsbh; // 钢束编号
    private String holeid; // 孔id
    private String zlsj; // 张拉时间
    private String gsgs; // 钢束股数
    private String txml; // 弹性模量
    private String sjzll; // 设计张拉力 KN
    private String htl; // 回弹量mm
    private String zscl; // 总伸长量mm
    private String llscl; // 理论伸长量mm
    private String yxpc; // 允许偏差值
    private String sclper; // 延伸量误差%
    private String wt; // 断丝及处理情况
    private String clqk; // 处理情况
    private String memo; // 备注
    private String status; // 完成状态
    private String hege; // 是否合格
    private String yzlb; // 预张拉百分比
    private String czlb; // 初张拉百分比
    private String zzlb; // 终张拉百分比
    private String jlsj; // 记录时间
    private String uuid; // 张拉任务单号
    private String issend; // 质监局对接
    private boolean allowOverride = true; // 是否允许覆盖，默认为true

    // 构造函数，不包含allowOverride参数
    public TensionMainData(String fguid, String syjid, String shebeibianhao, String gsbh, String holeid, 
                          String zlsj, String gsgs, String txml, String sjzll, String htl, String zscl, 
                          String llscl, String yxpc, String sclper, String wt, String clqk, String memo, 
                          String status, String hege, String yzlb, String czlb, String zzlb, String jlsj, 
                          String uuid, String issend) {
        this.fguid = fguid;
        this.syjid = syjid;
        this.shebeibianhao = shebeibianhao;
        this.gsbh = gsbh;
        this.holeid = holeid;
        this.zlsj = zlsj;
        this.gsgs = gsgs;
        this.txml = txml;
        this.sjzll = sjzll;
        this.htl = htl;
        this.zscl = zscl;
        this.llscl = llscl;
        this.yxpc = yxpc;
        this.sclper = sclper;
        this.wt = wt;
        this.clqk = clqk;
        this.memo = memo;
        this.status = status;
        this.hege = hege;
        this.yzlb = yzlb;
        this.czlb = czlb;
        this.zzlb = zzlb;
        this.jlsj = jlsj;
        this.uuid = uuid;
        this.issend = issend;
    }
}